* {
    margin: 0;
    padding: 0;
}

body {
    max-width: 540px;
    min-width: 320px;
    font: 400 16px/1.5 PingFangSC-regular, Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    background-color: #f2f2f2;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    color: #333;
    margin: 0 auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
}

.search-index {
    max-width: 540px;
    min-width: 320px;
    width: 100%;
    height: 44px;
    position: fixed;
    z-index: 2;
    display: flex;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
}

.search-right {
    display: block;
    width: 51px;
    height: 44px;
    text-align: center;
}

.search-right::before {
    content: '';
    width: 23px;
    height: 23px;
    display: block;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
    margin: 2px auto 0;
}

.search {
    flex: 1;
    margin: 9px 10px;
    border-radius: 5px;
    height: 26px;
    border: 1px solid #ccc;
    line-height: 26px;
    padding-left: 30px;
    color: #666;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}

.search::after {
    content: '';
    width: 15px;
    height: 15px;
    position: absolute;
    top: 17px;
    left: 17px;
    background: url(../images/sprite.png) no-repeat -58px -279px;
    background-size: 104px auto;
}

.chart {
    width: 100%;
    margin-top: 44px;
}

.chart img {
    width: 100%;
    border-style: none;
}


/* 局部导航栏 */

.local-nav {
    height: 64px;
    display: flex;
    margin: 3px 4px;
    border-radius: 8px;
    background-color: #fff;
}

.local-nav li {
    flex: 1;
}

.local-nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.local-icon1 {
    width: 32px;
    height: 32px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px auto;
    margin-top: 8px;
}

.local-icon2 {
    width: 32px;
    height: 32px;
    background: url(../images/localnav_bg.png) no-repeat 0 -32px;
    background-size: 32px auto;
    margin-top: 8px;
}

.local-icon3 {
    width: 32px;
    height: 32px;
    background: url(../images/localnav_bg.png) no-repeat 0 -64px;
    background-size: 32px auto;
    margin-top: 8px;
}

.local-icon4 {
    width: 32px;
    height: 32px;
    background: url(../images/localnav_bg.png) no-repeat 0 -96px;
    background-size: 32px auto;
    margin-top: 8px;
}

.local-icon5 {
    width: 32px;
    height: 32px;
    background: url(../images/localnav_bg.png) no-repeat 0 -128px;
    background-size: 32px auto;
    margin-top: 8px;
}

nav {
    overflow: hidden;
    border-radius: 8px;
    margin: 0 4px 3px;
}

.nav-common {
    display: flex;
    height: 88px;
    background-color: pink;
}

.nav-common:nth-child(2) {
    margin: 3px 0;
}

.nav-items {
    /* 同时把这个元素设置为flex:1和display:flex不冲突 */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}

.nav-items a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    color: #fff;
    font-size: 14px;
    /* 文字阴影 */
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}

.nav-items a:nth-child(1) {
    border-bottom: 1px solid #fff;
}

.nav-common:nth-child(1) .nav-items:nth-child(1) a {
    border: 0;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}

.nav-common:nth-child(2) .nav-items:nth-child(1) a {
    border: 0;
    background: url(../images/ticket.png) no-repeat bottom center;
    background-size: 121px auto;
}

.nav-common:nth-child(3) .nav-items:nth-child(1) a {
    border: 0;
    background: url(../images/tour.png) no-repeat bottom center;
    background-size: 121px auto;
}

.nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left, #FA5A55, #FA994D);
}

.nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left, #4B90ED, #53BCED);
}

.nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left, #34C2A9, #6CD559);
}


/* 侧边导航 */

.subnav-entry {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    background-color: #fff;
    padding: 5px 0;
}

.subnav-entry li {
    /* 里面的子盒子可以写20% */
    flex: 20%;
}

.subnav-entry li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subnav-entry li a {
    font-size: 10px;
}

.subnav-entry-icon {
    width: 28px;
    height: 28px;
    margin-top: 4px;
    background: url(../images/subnav-bg.png) no-repeat 0 0;
    background-size: 28px auto;
}

.icon2 {
    background: url(../images/subnav-bg.png) no-repeat 0 -30px;
    background-size: 28px auto;
}

.icon3 {
    background: url(../images/subnav-bg.png) no-repeat 0 -64px;
    background-size: 28px auto;
}

.icon4 {
    background: url(../images/subnav-bg.png) no-repeat 0 -322px;
    background-size: 28px auto;
}

.icon5 {
    background: url(../images/subnav-bg.png) no-repeat 0 -99px;
    background-size: 28px auto;
}

.icon6 {
    background: url(../images/subnav-bg.png) no-repeat 0 -162px;
    background-size: 28px auto;
}

.icon7 {
    background: url(../images/subnav-bg.png) no-repeat 0 -198px;
    background-size: 28px auto;
}

.icon8 {
    background: url(../images/subnav-bg.png) no-repeat 0 -131px;
    background-size: 28px auto;
}

.icon9 {
    background: url(../images/subnav-bg.png) no-repeat 0 -231px;
    background-size: 28px auto;
}

.icon10 {
    background: url(../images/subnav-bg.png) no-repeat 0 -289px;
    background-size: 28px auto;
}


/* 销售模块 */

.sales {
    margin: 4px;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
    /* border-top: 1px solid #ddd; */
}

.sales-hd {
    position: relative;
    height: 40px;
    margin: 10px 0;
}

.sales-hd span {
    position: absolute;
    top: 18px;
    left: 20px;
    width: 75px;
    height: 19px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
    text-indent: -999px;
}

.sales-hd a {
    position: absolute;
    top: 10px;
    right: 5px;
    padding: 3px 10px;
    border-radius: 15px;
    color: #fff;
    background: -webkit-linear-gradient(75deg, #FF5170, #FF6AC2);
}

.sales-tu {
    border-top: 1px solid #ddd;
}

.sales-tu>div {
    width: 100%;
    display: flex;
}

.sales-tu>div a {
    flex: 1;
}

.sales-tu>div a:nth-child(1) {
    border-right: 1px solid #ddd;
}

.sales-tu>div img {
    width: 100%;
}

.sales-tu a {
    border-bottom: 1px solid #ddd;
}


/* 下载回复栏 */

.svg {
    /* height: 400px; */
    display: flex;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

.svg a {
    flex: 1;
    padding: 10px 0;
    font-size: 12px;
    text-align: center;
}

.svg a span:nth-child(1) {
    display: block;
    background-color: #f00;
    width: 20px;
    height: 20px;
    margin: 0 auto;
}

.svg a:nth-child(1) span:nth-child(1) {
    background: url(../upload/电\ 话.png) no-repeat;
    background-size: cover;
}

.svg a:nth-child(2) span:nth-child(1) {
    background: url(../upload/下载.png) no-repeat;
    background-size: cover;
}

.svg a:nth-child(3) span:nth-child(1) {
    background: url(../upload/我的.png) no-repeat;
    background-size: cover;
}


/* 底部 */

.end {
    display: flex;
    justify-content: center;
    font-size: 12px;
}

.end a {
    margin: 0 5px;
    color: #666;
}

.end span:nth-child(1) {
    display: inline-block;
    width: 11px;
    height: 11px;
    background: url(../upload/un_icon_sites.png) no-repeat 0 -160px;
    background-size: 30px auto;
}

.end span:nth-child(2) {
    display: inline-block;
    width: 5px;
    height: 5px;
    border: 1px solid #666;
    transform: rotate(45deg);
    border-width: 0 1px 1px 0;
    vertical-align: 2px;
    margin: 1px 2px;
}

.footer {
    font-size: 12px;
    text-align: center;
    color: #999;
}